{% extends "contifyuser/base.html" %}
{% block content %}

<div id="loginDivId" style="background-color: #666699; min-height: 50px; min-width: 40px; position: absolute; top: 50px; right: 100px; display:none;">
    {% if signin_form.errors %}
        <p>Your email id and password didn't match. Please try again.</p>
        {% endif %}
        
        <signin_form method="post" action="{% url contifyuser.views.viewprofile %}">
        <div style="margin-top: 10px;margin-left: 5px; margin-right: 20px;">
            <div>Email Id</div>
            <div>{{ signin_form.username }}</div>
        </div>
        <div style="margin-left: 5px; margin-right: 20px;">
            <div >{{ signin_form.password.label_tag }}</div>
            <div>{{ signin_form.password }}</div>
        </div>
        
        <div style="margin-left: 60px; margin-bottom: 15px;">
            <input type="submit" value="Sign In" />
        </div>
        </form>
    </div>
{% endblock %}
